package com.lanyan.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import com.lanyan.system.domain.AccountAddress;

/**
 * 用户地址Mapper接口
 *
 * @author lanyan
 * @date 2024-11-26
 */
public interface AccountAddressMapper extends BaseMapper<AccountAddress>
{
    /**
     * 查询用户地址
     *
     * @param accountAddressId 用户地址主键
     * @return 用户地址
     */
    public AccountAddress selectAccountAddressByAccountAddressId(Long accountAddressId);

    /**
     * 查询用户地址列表
     *
     * @param accountAddress 用户地址
     * @return 用户地址集合
     */
    public List<AccountAddress> selectAccountAddressList(AccountAddress accountAddress);

    /**
     * 新增用户地址
     *
     * @param accountAddress 用户地址
     * @return 结果
     */
    public int insertAccountAddress(AccountAddress accountAddress);

    /**
     * 修改用户地址
     *
     * @param accountAddress 用户地址
     * @return 结果
     */
    public int updateAccountAddress(AccountAddress accountAddress);

    /**
     * 删除用户地址
     *
     * @param accountAddressId 用户地址主键
     * @return 结果
     */
    public int deleteAccountAddressByAccountAddressId(Long accountAddressId);

    /**
     * 批量删除用户地址
     *
     * @param accountAddressIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAccountAddressByAccountAddressIds(Long[] accountAddressIds);
}
